<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8"/>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <title><?=$r['message'];?></title>
    <script>
        var message='<?=$r['message'];?>';
        var url='<?=$r['url'];?>';
        var refresh=<?=$r['refresh']?'true':'false'?>;
        alert('<?php echo $r['message'];?>');
        if(url && url!=''){
            document.location.href=url;
        }else{
            if(refresh){
                location.href=document.referrer;
            }else{
                history.back(-1);
            }
        }
    </script>
</head>
<body>
</body>
</html>